# -*- mode: python ; coding: utf-8 -*-


block_cipher = None

a = Analysis(['gui.py'],
             pathex=['.'],
             binaries=[],
             datas=[
                 ('__pycache__/*', '__pycache__'),
                 ('templates/*', 'templates'),
                 ('*.json', '.'),
                 ('*.ico', '.'),
                 ('表格拆分.py', '.'),
                 ('门诊日志转换.py', '.'),
                 ('通用表格匹配.py', '.'),
                 ('common_rules.py', '.'),
                 ('data_processor.py', '.'),
                 ('file_utils.py', '.'),
                 ('gui.py', '.'),
                 ('PH3异地数据转换.py', '.'),
                 ('utils.py', '.')
             ],
             hiddenimports=[
                 'common_rules',
                 'data_processor',
                 'file_utils',
                 'utils',
                 'pandas',
                 'openpyxl'
             ],
             hookspath=[],
             hooksconfig={},
             runtime_hooks=[],
             excludes=[],
             win_no_prefer_redirects=False,
             win_private_assemblies=False,
             cipher=block_cipher,
             noarchive=False)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)

exe = EXE(pyz,
          a.scripts,
          [],
          exclude_binaries=True,
          name='main',
          debug=False,
          bootloader_ignore_signals=False,
          strip=False,
          upx=True,
          console=False,
          disable_windowed_traceback=False,
          target_arch=None,
          codesign_identity=None,
          entitlements_file=None,
          icon='ik.ico')
coll = COLLECT(exe,
               a.binaries,
               a.zipfiles,
               a.datas,
               strip=False,
               upx=True,
               upx_exclude=[],
               name='gui')